package com.cm367.teamc;

import java.util.ArrayList;
import java.util.List;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;
import javax.faces.model.SelectItem;

@ManagedBean
@ApplicationScoped
public class Dept {

	private List<SelectItem> item = new ArrayList<SelectItem>();

	public Dept() {
		item.add(new SelectItem("IT", "IT"));
		item.add(new SelectItem("Administration", "Administration"));
		item.add(new SelectItem("Clerk", "Clerk"));
	}

	public List<SelectItem> getItem() {
		return item;
	}

	public void setItem(List<SelectItem> item) {
		this.item = item;
	}

}
